import { http } from '@/server'
import type { HttpResponsePending } from '@/server/interface'
import type { TeacherReportData } from './interface'

/**
 * 讲师年度报告数据
 * @returns
 */
export const fetchTeacherReport = (): HttpResponsePending<TeacherReportData> =>
    http.get('/report/year-census')
